Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Add several vis state mergers combineConfigs and improve TS #2634

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

igorDykhta
Copy link
Collaborator

  • Adds combineConfigs to some vis state saved configs that are non-array complex objects:

    1. interactionConfig
    2. layerBlending
    3. overlayBlending
    4. editor

    Each of these has inline comments (and unit tests) explaining the decisions made on how to combine values in different situations. For example, interactionConfig.brush.size gets aggregated into keeping the single largest value among all brush sizes.

  • Improves and fixes some TS defs.

  • Adds jest unit tests for newly added combineConfigs.

Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for keplergl2 ready!

Name Link
🔨 Latest commit 96f7eba
🔍 Latest deploy log https://app.netlify.com/sites/keplergl2/deploys/66df7ea90272f90008aa255d
😎 Deploy Preview https://deploy-preview-2634--keplergl2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@heshan0131
Copy link
Contributor

Looks like there is a failed test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants